package com.sx.service.impl;

import java.util.List;

import org.springframework.stereotype.Service;

import com.sx.bean.PtOrgan;
import com.sx.dao.PtOrganDao;
import com.sx.service.PtOrganService;
@Service
public class PtOrganServiceimpl implements PtOrganService {
	private	PtOrganDao ptorgandao ;
	

	public PtOrganDao getPtorgandao() {
		return ptorgandao;
	}


	public void setPtorgandao(PtOrganDao ptorgandao) {
		this.ptorgandao = ptorgandao;
	}


	@Override
	public List<PtOrgan> selectAll() {
		List<PtOrgan> ptorganlist = ptorgandao.selectAll();
		return ptorganlist;
	}

}
